<?php
$this->breadcrumbs=array(
	'Trees'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('label'=>'List Tree', 'url'=>array('index')),
	array('label'=>'Create Tree', 'url'=>array('create')),
	array('label'=>'Update Tree', 'url'=>array('update', 'id'=>$model->id_tree)),
	array('label'=>'Delete Tree', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id_tree),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Tree', 'url'=>array('admin')),
);
?>

<dir class="border-bottom view-time"><?php echo date('F j, Y',strtotime($model->date_post)); ?></dir>
<div class="clear"></div>

<div id="news-main">
    <div class="news-main-img border-shadow">
    <?php echo "<img width='360' height='390' src ='images/tree/{$model->picture}' alt='$model->title' title='$model->title'/>"?>
    </div>
    <br />
     <b><?php echo CHtml::encode($model->getAttributeLabel('maintext')); ?>:</b><?php echo $model->maintext;?>
</div>
        <div id="news-list">
            <span><?php echo $model->title; ?></span>
            <ul>
                <li class="border-bottom">	<b><?php echo CHtml::encode($model->getAttributeLabel('province')); ?>:</b>
                	<?php echo CHtml::encode($model->province); ?>	<br />
                <li class="border-bottom">  <b><?php echo CHtml::encode($model->getAttributeLabel('prize')); ?>:</b>
                	<?php echo CHtml::encode($model->prize)." VNĐ"; ?>	<br />
                 <li class="border-bottom">	<b><?php echo CHtml::encode($model->getAttributeLabel('user_post')); ?>:</b>
                	<?php echo CHtml::encode($model->idUser->name); ?>	<br />
                <li class="border-bottom">	<b><?php echo CHtml::encode($model->getAttributeLabel('numviewer')); ?>:</b>
                	<?php echo CHtml::encode($model->numviewer); ?>	<br />
            </ul> 
        </div>
<div class="clear"></div>
  <dir class="border-bottom view-time">

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4ee6a13676ffff89"></script>
<!-- AddThis Button END -->
</dir>
<div class="clear"></div>
<style media='print' type='text/css'>
#linkbar-wrapper, #comments, #header-wrapper, .widget-content, #lower-wrapper, #header, #sidebar-wrapper,.sidebar, .comment-form,.post-footer,#blog-pager,.post-feeds,#backlinks-container,#navbar-section,.lowerbar-wrapper, #backbutton {display:none !important;}

#content-wrapper,#main-wrapper,#main {font-size:12px;float:none !important;overflow:visible !important;width:auto !important;}

#main a{color:#0000ff;text-decoration:none;}

</style>

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<span style='float:right;background: url(http://lh3.ggpht.com/_BTztXRwC9ik/TOtCNrGN2qI/AAAAAAAAE94/XAaPXI5ro90/print-this.png) left no-repeat; padding-left: 25px;'><a href='javascript:window.print()'>In bài này</a></span>
</b:if>

<!--END--!>
<dir class="old-post "><h1>Thông Tin Liên Quan</h1></dir>
<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
    //'enablePagination' => false,
	'itemView'=>'_view',
)); ?>